﻿using MediatR;
using Sgr.Application.Commands;
using Sgr.Domain.Uow;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sgr.UPMS.Application.Commands.UserProfile
{
    /// <summary>
    /// 绑定手机号码命令
    /// </summary>
    public class BindPhoneCommand : IRequest<CommandResult<bool>>, IRequireUnitOfWork
    {
        /// <summary>
        /// 手机号码
        /// </summary>
        public string PhoneNumber { get; set; } = string.Empty;

        /// <summary>
        /// 验证码
        /// </summary>
        public string VerificationCode { get; set; } = string.Empty;

        /// <summary>
        /// 验证用途(四位字符)
        /// </summary>
        public string VerificationPurpose { get; set; } = "";
    }
}